package cn.tedu;

import org.springframework.stereotype.Component;

@Component("myiphone")
public class IPhone implements Phone{ // bean id: IPhone

    @Override
    public String getName() {
        return "苹果手机";
    }

}
